package com.test.base.dao;
import com.test.base.entity.NideshopGoodsIssue;
import java.util.List;
import com.test.base.utils.Assist;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface NideshopGoodsIssueDao{
	/**
	 * 获得NideshopGoodsIssue数据的总行数,可以通过辅助工具Assist进行条件查询,如果没有条件则传入null
	 * @param assist
	 * @return
	 */
    long getNideshopGoodsIssueRowCount(Assist assist);
	/**
	 * 获得NideshopGoodsIssue数据集合,可以通过辅助工具Assist进行条件查询,如果没有条件则传入null
	 * @param assist
	 * @return
	 */
    List<NideshopGoodsIssue> selectNideshopGoodsIssue(Assist assist);
	/**
	 * 获得一个NideshopGoodsIssue对象,以参数NideshopGoodsIssue对象中不为空的属性作为条件进行查询
	 * @param obj
	 * @return
	 */
    NideshopGoodsIssue selectNideshopGoodsIssueByObj(NideshopGoodsIssue obj);
	/**
	 * 通过NideshopGoodsIssue的id获得NideshopGoodsIssue对象
	 * @param id
	 * @return
	 */
    NideshopGoodsIssue selectNideshopGoodsIssueById(Integer id);
	/**
	 * 插入NideshopGoodsIssue到数据库,包括null值
	 * @param value
	 * @return
	 */
    int insertNideshopGoodsIssue(NideshopGoodsIssue value);
	/**
	 * 插入NideshopGoodsIssue中属性值不为null的数据到数据库
	 * @param value
	 * @return
	 */
    int insertNonEmptyNideshopGoodsIssue(NideshopGoodsIssue value);
	/**
	 * 通过NideshopGoodsIssue的id删除NideshopGoodsIssue
	 * @param id
	 * @return
	 */
    int deleteNideshopGoodsIssueById(Integer id);
	/**
	 * 通过辅助工具Assist的条件删除NideshopGoodsIssue
	 * @param assist
	 * @return
	 */
    int deleteNideshopGoodsIssue(Assist assist);
	/**
	 * 通过NideshopGoodsIssue的id更新NideshopGoodsIssue中的数据,包括null值
	 * @param enti
	 * @return
	 */
    int updateNideshopGoodsIssueById(NideshopGoodsIssue enti);
 	/**
	 * 通过辅助工具Assist的条件更新NideshopGoodsIssue中的数据,包括null值
	 * @param value
	 * @param assist
	 * @return
	 */
    int updateNideshopGoodsIssue(@Param("enti") NideshopGoodsIssue value, @Param("assist") Assist assist);
	/**
	 * 通过NideshopGoodsIssue的id更新NideshopGoodsIssue中属性不为null的数据
	 * @param enti
	 * @return
	 */
    int updateNonEmptyNideshopGoodsIssueById(NideshopGoodsIssue enti);
 	/**
	 * 通过辅助工具Assist的条件更新NideshopGoodsIssue中属性不为null的数据
	 * @param value
	 * @param assist
	 * @return
	 */
    int updateNonEmptyNideshopGoodsIssue(@Param("enti") NideshopGoodsIssue value, @Param("assist") Assist assist);
}